import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'
import PAdministrationList from '@/views/backstage/P-Administration/PAdministrationList.vue'
import PAdministrationAdd from '@/views/backstage/P-Administration/PAdministrationAdd.vue'
import Cover from '@/views/cover/cover.vue'
import BasicList from '@/views/backstage/basic/basicList.vue'
import BasicAdd from '@/views/backstage/basic/basicAdd.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/Cover',
    name: 'Cover',
    component: Cover
  },
  {
    path: '/Home',
    name: 'Home',
    component: Home
  },
  {
    path: '/BasicList',
    name: 'BasicList',
    component: BasicList
  },
  {
    path: '/BasicAdd',
    name: 'BasicAdd',
    component: BasicAdd
  },
  {
    path: '/PAdministrationlist',
    name: 'PAdministrationlist',
    component: PAdministrationList
  },
  {
    path: '/PAdministrationAdd',
    name: 'PAdministrationAdd',
    component: PAdministrationAdd
  },
  // PAdministration,
]

const router = new VueRouter({
  routes
})

export default router
